package com.estate.owner.feign;

import com.estate.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("estate-house")
public interface HouseFeign {

    @GetMapping("/house/list/{houseId}")
    JsonResult find(@PathVariable("houseId") String houseId);
}
